<%@ include file="header.jsp" %>
<body>
<h1>Spring 3 MVC Startup</h1>

<h3>Person List</h3>
<table>
    <tr>
        <th>Id</th>
        <th>Name</th>
        <th>Surname</th>
    </tr>
    <c:forEach items="${personList}" var="person">
        <tr>
            <td><a href="/person/${person.id}">${person.id}</a></td>
            <td>${person.name}</td>
            <td>${person.surname}</td>
        </tr>
    </c:forEach>
</table>
</body>

</html>